Move Login & Logout links to base.html template, add logic to only show logout to logged in users and vice versa