At the submit button, call a microflow.
In this microflow create an system.user object (or a specification of that type like a administration.account).
To be able to login, you have to set the name and password and associate the system.user with a userrole.