Add first_login_at and last_logout_at, ensure table exists at runtime, upsert user on /api/auth/sync, and record logout via /api/auth/logout from the client.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add quick provider login buttons (Auth0 connections), an API to upsert users into Postgres and gate admin via can_manage, plus schema and Node server.
Co-authored-by: Cursor <cursoragent@cursor.com>