Adding email validation to form.