public ActionResult LogOff() { logger.Info(Environment.NewLine + "User logged out: " + CookieHandler.GetUserNameFromCookie("LoginCookie") + " " + DateTime.Now); CookieHandler.DeleteCookie("LoginCookie"); return(RedirectToAction("Login", "Login")); }