fix the registration of an aready existing user bug