fix user registration with existing email