I used Identity in .NET Core 2.1. MVC app and I have one problem. As long as I used build-in class IdentityUser, my \_ManageNav works good: when I clicked on UserName, on the left side of my application I saw ManageNav menu. But I must implicate my own class, because I must have list for users:

```
public class MyAppUser : IdentityUser
{
    public ICollection<Recipe> Recipes { get; set; }
}

```

Of course I change in Startup information about class:

```
services.AddIdentity<MyAppUser, IdentityRole>()
            .AddEntityFrameworkStores<ApplicationDbContext>()
            .AddDefaultTokenProviders();

```

Also add a mail sender, because I had error with this:

```
services.AddTransient<IEmailSender, MyAppMailSender>();

```

My \_ManaveNav is practically build-in, I didn't have to change anything because first I wanted configure my own class, this is my \_ManageNav:

```
@inject SignInManager<IdentityUser> SignInManager
@{
    var hasExternalLogins = (await SignInManager.GetExternalAuthenticationSchemesAsync()).Any();
}
<div class="menu-left">
    <ul class="nav nav-pills nav-stacked">
        <li class="@ManageNavPages.IndexNavClass(ViewContext)"><a asp-page="./Index">Profile</a></li>
        <li class="@ManageNavPages.ChangePasswordNavClass(ViewContext)"><a id="change-password" asp-page="./ChangePassword">Password</a></li>
        @if (hasExternalLogins)
        {
            <li class="@ManageNavPages.ExternalLoginsNavClass(ViewContext)"><a id="external-login" asp-page="./ExternalLogins">External logins</a></li>
        }
        <li class="@ManageNavPages.TwoFactorAuthenticationNavClass(ViewContext)"><a asp-page="./TwoFactorAuthentication">Two-factor authentication</a></li>
        <li class="@ManageNavPages.PersonalDataNavClass(ViewContext)"><a asp-page="./PersonalData">Personal data</a></li>
    </ul>
</div>

```

I tried with IdentityUser or MyAppUser in first line (@inject), but always I have default menu, which I have normal in app. My Identity layout:

```
@{
Layout = "/Areas/Identity/Pages/_Layout.cshtml"; }

<h2>Manage your account</h2>
<partial name="_MenuTop" />
<div class="all">

    <partial name="_ManageNav" />
    <div class="content">
        @RenderBody()
    </div>
    <partial name="_MenuRight" />
    <div class="clearfix"></div>
</div>
@section Scripts {
    @RenderSection("Scripts", required: false)
}

```

Maybe one of You have this problem in Your app? I think ManageNav and Layout is OK, because on version where I use IdentityUser ManageNav works great.

Best regards,
Kamil