How do i register different roles?

So i have a problem, I am creating a website with the job board template and I want to have 2 roles on the page. My idea is to have one role for users who can apply to jobs created by companies and another role for companies that can create jobs.

I can register as a USER with XanoAuth for now, but when I want to create the registration for COMPANIES, the plugin that points to the auth/signup endpoint is linked to the USER DB and not to the COMPANY DB and i cant find a way to ‘separate’ this. how can i fix this?

My register company workflow only takes the fields in the user db, but i need to take the ones on my company db for this registration

I would do the database setup differently:

User
Company
user_companies - a link table

Then simply register everyone as a user, but some users may be linked to a company.
If you plan to have a 1-1 relationship between company and user, then you can just store the user_id on this company table to keep it simpler.

You can modify the sign up workflow in Xano to expose extra parameters such as role and any company information.