if (Yii::$app->request->isPost) {
$model = new Setting();
$model->load(Yii::$app->request->post());
$model->updateUser();
}
$dbUser = User::findOne(Yii::$app->user->identity->id);
$user = new Setting();
$user->login = $dbUser->login;
$user->name = $dbUser->name;
$user->vk = $dbUser->vk;