public function index() { // Retrieve all the users in the database and return them $users = User::all(); return $users; }