Help Me Regarding User Authentication.please

hi friends,

I am having two tables 1.users 2.companyusers,

And i am using yii-user extension, now i want to know how to authenticate both the users from a single form,Is there any chance for using multiple yii-user extension,so that i can create another copy of yii-user for ‘Companyusers’.And the usernames and emails should not match in both tables.Please help me.