fixes pull request #10 for support of newer version of yii-user