title: Yii check if user is logged before every page
body: <p>I have to check if user is logged before rendering every page example:</p>
  
  <p><a href="http://mypage.com/site/about" rel="nofollow noreferrer">http://mypage.com/site/about</a></p>
  
  <p>at begining check if user is logged in, if not - redirect tom login page
  I don't want to add it in every single componene, how to to this?</p>