edited code snippet to fix validation, added reservation form