@page
@model RazorPagesMovie.Pages.Admin.IndexModel
@{
    ViewData["Title"] = "Admin";
}

<h1>Welcome, @User.Identity?.Name</h1>

<form method="post" asp-page-handler="Logout">
    <button type="submit" class="btn btn-secondary">Logout</button>
</form>
