Work on the api/create_devices endpoint
Use REST adapter for /api/login endpoint
Use REST adapter for /api/logout endpoint
Use REST adapter for several more endpoints
Fix remaining REST /api endpoints to use adapter and get server compiling again