Replaced code, fixed reservationcontroller, changed errorrhandling reservationcontroller.