logged_in method for sessions to know if a user is logged in.
added a dropdown in the header template that knows is the user is logged in and shows a logout and settings link
logout route fixed to work via the delete action in http