Fix registering a new user