copying some Yii2 Adv App Template updates to User.php to this repo