Better validation on email address and minimum password