Auth Endpoints
POST /api/register
Create new account.
POST /api/login
Authenticate user and issue JWT.
POST /api/logout
Invalidate session.
GET /api/me
Return authenticated user data.
Create new account.
Authenticate user and issue JWT.
Invalidate session.
Return authenticated user data.