Vue Assign custom roles on creation?

Hello! I am a bit confused about a thing or two here

Im trying to figure out how to assign one of my custom roles to user who sign up on my app.
So the first thing, am i using hooks or rules for this?

Second thing, how can i check for a users role in like, a console.log? Because i cant find this info on the browser console.

Im using a SPA application for this, but im using vue vite, not vue CLI for this.

Thanks in advance