function postProcess()
 {
     $login = $this->getSubmitValue('form_login');
     $password = md5($this->getSubmitValue('form_password'));
     $url = $this->getSubmitValue('form_url');
     $me = new User();
     if ($me->isCorrect($login, $password)) {
         $me->loadPermissions();
         if ($me->NoSitePermission()) {
             header("Location: " . Request::getCurrentCompletePath() . "/index.php?mod=login&error_login=2");
             exit;
         }
         header("Location: {$url}");
         exit;
     } else {
         header("Location: " . Request::getCurrentCompletePath() . "/index.php?mod=login&error_login=1");
         exit;
     }
 }