adding email validation