I have just started to learn Yii framework. I need to implement user authentication and authorization. I was passing through the tutorial and I saw you need to define identity class. I didn’t clear understood that tutorial. Where should that defined class reside? Please can someone assist me on this or point me to a more details tutorial about user authentication.