Just add the register function to yii demo blog