made a start with form validations