adding validations to form
adding custom error messages to display below input fields