@using Microsoft.AspNetCore.Identity

@{
    if (User.Identity.IsAuthenticated)
    {
        Layout = "~/Views/Shared/_Layout.cshtml";
    }
    else
    {
        Layout = "~/Views/Shared/_Sub.cshtml";
    } 
}