Gate Penny Coach Behind Authentication
Canadian Elite Volleyball Academy — Development Update • March 16, 2026
Gate Penny Coach Behind Authentication
What & Why
Currently, unauthenticated visitors can access the full Penny Coach chat at and send messages that generate AI responses — costing real money on every query with no accountability. The journal and development tabs are already properly gated, but the chat itself is wide open. The page should remain in the sidebar for discovery, but visitors should see an attractive preview/marketing layout instead of a working chat. This protects AI costs while still showcasing Penny as a reason to join the academy.Done looks like
- Unauthenticated visitors at see a preview layout instead of a working chat:
- The chat input, suggested questions, "New Chat" button, and tab switcher are hidden for unauthenticated users
- The backend endpoint is protected — returns 401 for unauthenticated requests instead of allowing IP-based rate limiting
- Logged-in users see exactly what they see today — no changes to the authenticated experience
Tasks
Relevant files
- (main page component — lines 80-120 for auth checks, 400-490 for hero, 490-530 for chat area)
- (lines 508-531 for the penny-coach endpoint)
Canadian Elite Volleyball Academy
elitevolleyball.training
No comments:
Post a Comment