merged in add-params-to-register-user