@if (!context.User.Identity?.IsAuthenticated ?? false) { } else {

You are not authorized to access this resource.

}

Sorry, there's nothing at this address.