added code to unjoin the ride and tested.