Small update to registerUser