Same login details but 2 user types

Hi -
I would like that a new user can signup as admin but also be part of a team signed in as a team member and not admin.
Can i do this using the admin login credentials but maybe offer a choice to continue as either admin or team member.

Help would be appreciated.

You can ask the user under which role he’s going to work right now (as a second step of login process after making a check if that user has several roles like “team member” and "admin). Or have something like a “change view/role” button for the user to quickly switch between working areas. Or just add “admin” elements (buttons, icons and so on) among “non-admin” elements, make them not visible during page load and show only if user has an admin role.

TL/DR: there are a lot of variants and it depends on your app design and structure.