added logic to prevent cars being booked on the same date and time