Adds status endpoint to api
Moves auth handlers to /api/auth