title: What's the best way to include the login/logout links with CakePHP?
body: <p>I was thinking of putting this in the AppController, but that would mean I would have to have the same code in each view file for this. I want to put this in the header so it would be on every view. I also want there to be some logic behind it where if I am logged in then show only logged out link and my user menu. Similarly, if I am not logged in then show the register and login link. Can anyone give me a hand or point me in the right direction? Thank you!</p>