adding validations on email field