backend/auth.ts