registration with email validation