Correct error registering users