started user class
added isset to session and added $viewer = false
added navigation for logged in users to the header