protected virtual void CheckLogin()
 {
     if (GetCurrentUser() == null)
     {
         if (AuthorizeManager.IsForceLogout)
         {
             this.JsMessage = MessagesResources.ForceLogout_Success;
             AuthorizeManager.IsForceLogout = false;
         }
         AuthorizeManager.RedirectToLoginPage();
     }
 }