# Numerology Platform — Step 8C

## Purpose

Step 8C connects the authenticated dashboard to the already verified `book-v1` calculation data from Step 8B.

This stage does **not** change the database structure and does **not** replace the working Step 8B calculation flow.

## What Step 8C adds

- A real authenticated dashboard at `public/dashboard.html`.
- The dashboard loads the current user's saved numerology profile from the existing database.
- The dashboard loads recent calculation history from the existing `calculation_runs` table.
- Life Path, Birth Day, Destiny/Expression, Soul Urge, Present/Missing Numbers, Personal Year, Personal Month and Personal Day are displayed from the saved calculation result.
- The account name, optional middle name, email and methodology version are displayed from the authenticated account/profile.
- The dashboard uses the same visual system as the existing calculator page.
- The existing Step 8B calculator remains the calculation entry point.
- The existing repeat-calculation behavior remains unchanged.
- No SQL import is required.
- No database credentials are included in this package.

## Clean one-upload test

1. Download this Step 8C ZIP.
2. Extract it.
3. Upload/merge the `numerology-platform` folder over the **currently confirmed Step 8B** installation.
4. **Do not replace your server's database credential file** `api/config/database.php` if it already exists.
5. **Do not import SQL.**
6. Log in with the existing test account.
7. Open `public/dashboard.html`.
8. Confirm the dashboard loads the saved profile.
9. Confirm recent calculation history appears.
10. Open `public/calculator.html` and run one calculation.
11. Return to `public/dashboard.html` and confirm the latest calculation appears at the top of the history.
12. Return to Home, open the dashboard again, and confirm it still loads without requiring a new calculation.

## Expected result

The dashboard should show:

- Life Path Method A
- Birth Day
- Destiny / Expression
- Soul Urge
- Present / Missing Numbers
- Personal Year
- Personal Month
- Personal Day
- Calculation run ID
- Recent calculation history
- Account name, including optional middle name when saved
- Methodology version `book-v1`

## Database safety

- Existing database schema is preserved.
- No SQL files are required for this step.
- Existing database credentials remain server-side and are intentionally excluded.
- The dashboard only reads data belonging to the authenticated session user.

## If the test fails

Stop and send the exact message shown on the page. Do not modify SQL or database credential files.
