protected override void Initialize(RequestContext requestContext) { base.Initialize(requestContext); if (User is ClaimsPrincipal) { var claims = (User as ClaimsPrincipal).Claims.ToList(); // Get details about authorized user LoggedInUser = _auth.GetUserDetails(claims); } ViewData["LoggedInUser"] = LoggedInUser; }