Fixed issue #8. Added a logout button that is only visible to logged in users