@page @model LogoutModel @{ ViewData["Title"] = "Log out"; }

@ViewData["Title"]

@{ if (User.Identity?.IsAuthenticated ?? false) {
} else {

You have successfully logged out of the application.

} }