refactor 
refactor 

Refactor of sync(), sign_sync(), begin_work_umapi(), and begin-work_sign. 

Refactor of sync_umapi and sync_sign 
adobe-apiplatform/user-sync.py,adobe-apiplatform/user-sync.py,adorton-adobe/user-sync.py,adorton-adobe/user-sync.py