More work on login & getting CORS working
Server-side changes needed to get login/logout kinda working
Start adding server-side device routines
Refactor datalayer account code
Work on devices and permissions in datalayer
Get datalayer device routines working