hope you are best of health. I am new in yii. i want to create a user session when user logged in he can acess only his data. like if admin login only admin can access their data and if another user is logged in he can access only their data. how can i do this. hopefully anyone help me.