/**
  * Log the user out of the application.
  *
  * @return \Symfony\Component\HttpFoundation\Response
  */
 public function getLogout()
 {
     $this->registrar->logout();
     return ['message' => 'Logout successful'];
 }
 /**
  * Reset the given user's password.
  *
  * @return array
  */
 public function postReset()
 {
     $this->registrar->resetPassword();
     return ['message' => 'Password successfully reset'];
 }
 /**
  * Remove the specified resource from storage.
  *
  * @param int $id
  *
  * @return array
  */
 public function destroy($id)
 {
     $this->registrar->delete($id);
     return ['message' => 'Deleted'];
 }