added rule for validating email address