dry authentication of api
Merge pull request #42 from vincent178/master

READY: dry up the authentication of github api