@using Microsoft.AspNetCore.Identity
@inject SignInManager<IdentityUser> SignInManager
@{
    ViewData["Title"] = "Home Page";
}

@if (SignInManager.IsSignedIn(User))
{
    <partial name="_homeLogInPartial" model="@Model"  />
}
else
{
    <partial name="_homeNoLogInPartial" />
}