refactored bookingcontroller and fixed validations bug