finish chapter 5
http://www.yiibook.com/book/agile_web_application_development_with_yii1.1_and_php5/chapter-5