public function startup()
 {
     parent::startup();
     if (!$this->getUser()->isLoggedIn()) {
         $this->redirect('Sign:login');
     }
 }
 public function startup()
 {
     parent::startup();
     $this->sessionSection = $this->getSession()->getSection("survey");
     if (array_key_exists("close_survey", $this->context->getParameters("close_survey")) && $this->context->getParameters()["close_survey"] && $this->action !== "close") {
         $this->redirect("Survey:close");
     }
 }