add api r/w auth
Merge branch 'master' of https://github.com/yucong/conductor