Changed the navigation bar so that a logout button isn't visible unless there's a user.