public function actionClearList()
    {
        if (!Yii::$app->user->isGuest) {
            ViewedProduct::deleteAll(['user_id' => \Yii::$app->user->id]);
            return $this->redirect(['list']);
        } else throw new NotFoundHttpException();
    }