title: Login issues in Yii2
body: <p>I have code result like this:</p>
  
  <p><a href="https://i.stack.imgur.com/vJj3I.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/vJj3I.png" alt="enter image description here"></a></p>
  
  <p>I want to login to an account, but I don't know how to modify the "welcome" message so that that message only come when we log in to an account. Does anyone know how to modify that? I'm using Yii2 framework.
  Here is my code:
  PATH: <code>frontend\views\layout\main.php:</code></p>
  
  <p><a href="https://pastebin.com/Qqj1fb8f" rel="nofollow noreferrer">https://pastebin.com/Qqj1fb8f</a></p>
  
  <p>and the index PATH: frontend\views\site\index:</p>
  
  <p><a href="https://pastebin.com/UwCezAmn" rel="nofollow noreferrer">https://pastebin.com/UwCezAmn</a></p>
  
  <p>Please help me to solve that problem. Thanks in advance</p>