1. Implemented the leaveTrip functionality.
2. Configured the menu to show the profile if the user is logged in.