hook getTrips service from the backend