Now only displays the 'Logout' link on the main page template if a user is logged in. @matt40k I can add a 'login' link if no session exists but I guess this may tempt people to hack it so thought I'd leave it out, let me know if you want me to add it in though!