add validations to application form