Conditionally display header items based on whether the user is authenticated