added constraint to prevent user from cancelling a booking after a certain time.