public ActionResult Index()
        {
            if (User.Identity.IsAuthenticated)
            {
                return(View("LoggedIn", sessionContext.GetUser()));
            }

            return(View("LoggedOut"));
        }
 private User GetUser()
 {
     return(_sessionContext.GetUser(Request));
 }