implementing yii-auth