public function changePassword($password) { $model = new ModelUser($this->dbh); if ($model->changePassword($this->user()->id, $password)) { return true; } else { return false; } }