Login two users

I updated the signup form and added role in a checkboxlist 0=user; 1=staff. 0 being default, firstname,lastname.
Now I want to update the two models (staff and user) when signing up.

I am new to yii2 please help

You need to define to webuser’s and session variables to do that

Would go for an extension like yii2-usuario