added validation for user on email