small changes in activities controller and ride model