adding error handler. adding more client side validation on create applicant form