public ActionResult Logout() { var accID = int.Parse(User.Identity.Name); new AccountDao().RemoveAllUsersConnections(accID); ChatHub.OfflineUsers(accID); FormsAuthentication.SignOut(); return(RedirectToAction("Index")); }