public void Logout() { var user = User; if (user != null) { Del(Config.Current.COOKIE_REMEMBER_USER_KEY); User = null; } }