Working on auth and sync
More work on
Another set of changes
Big set of changes again