Root Router Page
App Route: / Public / All UsersHandles routing decisions at the application's root web address, checking login status dynamically.
✦ Key Interactive Features
- Authentication state detection using active Firebase tokens
- Automatic client-side redirecting to the user dashboard if logged in
- Smooth fallback dispatching unauthenticated users to the SMS login portal
🧭 Step-by-Step Instructions
- 1Navigate to the main website URL.
- 2The route interceptor checks for active browser session tokens.
- 3If you are logged in, the system displays 'Loading...' and redirects to `/dashboard` instantly.
- 4If no session is found, you are securely redirected to the `/login` screen.
⚠️ Safety Warnings & Troubleshooting
- Ensure your web browser allows cookies and JavaScript executions.
- If the page hangs on 'Loading...', clear your local cache or try logging in again.
🔒 HIPAA & Security Standard Compliance
All pages accessed within HealthJourney4u process medical data under AES-256 standards. Patient timelines, laboratory results, and AI chatbot prompts are strictly private, sandboxed, and protected against script injection.