validate email in register action