- implement account syncing - part 3
- lots of fixes to sync mechanism