Inheritance: IAuthenticator
 public ActionResult LogOut()
 {
     //FormsAuthentication.SignOut();
     IAuthenticator authenticator = new CookieAuthenticator();
     authenticator.SignOut();
     Response.Clear();
     return Json(true);
 }
 private void AuthUser(UserModel user)
 {
     IAuthenticator authenticator = new CookieAuthenticator();
     authenticator.SetCookie(user.UserName, true);
 }