Added error detection on home page UI and Datetime picker for the form