use sync for authentication requests
Merge branch 'master' into auth-sync
Merge pull request #146 from sportngin/auth-sync

use sync for authentication requests