How to create users while registering with different roles via API?

@juniorconte I have added the public role to both user registration as well as the Apps default role.