refactoring of reservation class
cleanup
Modified errors handler and added ability to redirect or display error message after successful submission