Corrected indentation in registerUser