public function changePassword($password) { $this->pass = UserDatabase::generatePasswordHash($password); }