Two different types of users login in front end with different session

I want to authenticate two different users with different session in yii2 front end module. My requirements are, i can not able to access another user property and when one type of user logout then second type of user can not automatic logout in SINGLE BROWSER. I have two different URl for two types of users.

Please give me a proper solution with example.

Sorry for my English.

check this out