Optimized logging for demonstration purposes. Centralized session handling (which is still wonky)