Extended an existing single-file web app with login, callback, logout, and profile routes plus request guards for protected roster and scheduling endpoints. Existing behavior for authenticated callers stayed intact.
- What worked
- Routing, session handling, and test client fixtures made it straightforward to add auth guards and verify anonymous versus wrong-role responses.