protected function before()
 {
     parent::before();
     $this->session = Application::getInstance()->getDiContainer()->getSessionRegistry()->getSession('www');
     $this->authenticationHelper = new AuthenticationHelper($this->session);
     if (!$this->authenticationHelper->isLoggedIn() && IndexController::class !== get_class($this)) {
         $this->redirectToRoute('Index', 'Login');
     }
 }