refactored into separate controller for the TripDetailsPage, which can use the TripService to calculate the price