public function changePassword($username, $newPass)
    {
        $password = $this->hasher->HashPassword($newPass);
        return $this
            ->conn
            ->prepare(sprintf("UPDATE %s SET user_pass=:newPass WHERE user_name = :username", $this->table))
            ->execute(['newPass' => $password, 'username' => $username]);
    }