home work 8 (Yii framework)