protected function create()
 {
     if ($_SESSION['CURRENT_USER']['role'] != 'USER') {
         $error = new ErrorController("accessDenied", $this->getvalues, $this->postvalues, $twig, $this->config, $this->logger);
         $error->ExecuteAction();
     } else {
         $view = "events/create.html.twig";
         $this->returnView($view, array('auth_header_name' => $this->config['auth_header_name'], 'auth_token' => $_SESSION['AUTH_TOKEN'], 'events_list' => $this->getEvents(true)['data'], 'current_user' => $this->getCurrentUser()));
     }
 }