title: Cakephp 2.4 Check Auth LoggedIn in every page?
body: <p>I find out it is redundant for putting the below code in every single function just to check if user is logged in. Not sure if there is a better way to put the below code at else where that I can use it without pasting the same code again?</p>
  
  <pre><code>$this-&gt;set('loggedIn', $this-&gt;Auth-&gt;loggedIn());
  </code></pre>