Create User by admin

Hi,
I am trying to create a console in our web application to create user by the manager. I am using registration widget for this purpose. Is there any way that we can do it a better way. And also Is there a way that manager can specify the groups that user can be assigned to at the time of creating/registration.

Any suggestions are valuable.

https://developer.okta.com/docs/api/resources/users/#create-user-in-group