public function addUser()
 {
     $secure = new Secure();
     if (!$this->salt) {
         $this->salt = str_replace('=', '', base64_encode(md5(microtime() . md5(microtime()))));
     }
     if (!$secure->userExists($this->user)) {
         $hash = $secure->getHash($this->pwd, $this->salt, $this->iteration);
         if ($secure->saveHash($this->user, $hash, $this->salt, $this->iteration)) {
             $this->result = "Хеш {$pwd} успешно записан в файл";
         } else {
             $this->result = "Произошла ошибка при записи хеша";
         }
     } else {
         $this->result = "Пользователь с таким именем уже существует";
     }
 }