Adding more functionality to the trip page