OPTION B - STEP 2

Upload these files into /public_html so they land in /public_html/pest/api/

Files included:
- db.php
- helpers.php
- login.php
- me.php
- clock-in.php
- clock-out.php
- working-lunch.php
- logout.php
- attendance-history.php
- my-worksite.php
- working-lunch-status.php

Purpose:
- clean auth/session API for the new /pest attendance frontend
- accepts JSON for login, optional JSON for attendance actions
- fixes the "Invalid JSON payload" problem on clock in/out/lunch
- returns user + status + history in the format the new frontend expects

After upload:
1. hard refresh /pest/attendance/
2. login
3. test Clock In
4. test Working Lunch
5. test Clock Out
6. test Logout
