Add logout and joinTrip methods.