Update register-user.mogu

Update example for current syntax and best practices.