public static void LogOut()
{
HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentFormKey);
HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentRoleKey);
HttpContext.Current.Session.Remove(CoreConfigurationManager._CoreConfigSectionHandler.SecurityElement.SessionCurrentUserKey);
HttpContext.Current.Session.RemoveAll();
HttpContext.Current.Session.Abandon();
}