implemented 'sync-done', 'sync-busy', 'connecting' and 'authing' events