logout button is hidden until js is initalized,
moved isLoggedIn method to the currentUser service, encapsulating the localStorage implementation.