/**
  * @inheritdoc
  */
 public function init()
 {
     $this->_auth = Yii::$app->authManager;
     parent::init();
 }
 /**
  * Refresh module list before any module operation.
  */
 public function beforeAction($action)
 {
     Yii::$app->scanModules();
     return parent::beforeAction($action);
 }