@using Microsoft.AspNetCore.Authentication
@if (this.User == null || this.User.Identity == null || !this.User.Identity.IsAuthenticated) {
} else {
Welcome, @User.Identity.Name!
}