authorization on enabling sync
Merge branch 'master' into beta