email validation works as user types