adds conditional display logic based on sessions being set