public ActionResult SessionLogOff(string userName) { if (FormsService == null) { FormsService = new FormsAuthenticationService(); } FormsService.SessionSignOut(userName); return(RedirectToAction("LogOn", "Account")); }