implement validation
configure logger in Yii adapter