WEST COAST PEST /PEST LOGIN DEBUG PACKAGE

Purpose:
- Show exactly where /pest/api/login.php is breaking.
- Return detailed JSON on login failure.
- Surface the backend error detail in the /pest/attendance screen.
- Also log the debug payload in the browser console.

Overwrite these files:
- /public_html/pest/api/db.php
- /public_html/pest/api/login.php
- /public_html/pest/attendance/app.js

Then test:
1. Open https://uent.co.za/pest/attendance/
2. Hard refresh
3. Try login again
4. Copy the full message shown under the Login button
5. If possible, also open browser dev tools console and copy the 'Login debug payload'

Important:
- This package is for debugging only.
- After we isolate the issue, remove the extra debug output.
