when you create a user folder and new pages in it, they are not displayed on the site, instead of a display, it produces an error 404. And from the site folder, these pages are displayed without error. What could be the problem?
Here are two files created in the views / user folder. 
main.php
['label' => 'Войти', 'url' => ['/user/login'], 'options' => ['class' => 'menu-item',]], ['label' => 'Регистрация', 'url' => ['/user/reg'], 'options' => ['class' => 'menu-item',]] SignupController.php
<?php namespace app\controllers; use Yii; use app\models\RegForm; class SignupController extends \yii\web\Controller { public function actionReg() { $model = new RegForm(); return $this->render( 'reg', [ 'model' => $model ] ); } } SigninController.php
<?php namespace app\controllers; use Yii; use app\models\LoginForm; class SigninController extends \yii\web\Controller { public function actionLogin() { $model = new LoginForm(); return $this->render( 'login', [ 'model' => $model ] ); } }