switch to yii\filters\AccessControl

fixes error Calling unknown method: yii\web\User::checkAccess()