public function actionUser($id)
 {
     if (\Yii::$app->request->isAjax) {
         $model = UserLog::findOne(['id' => $id]);
         if (!$model) {
             throw new HttpException(404, \Yii::t('app', 'Page not found'));
         }
         return $this->renderAjax('_user', ['model' => $model]);
     }
     throw new HttpException(405, \Yii::t('app', 'Method not allowed'));
 }