move authCheck code into seperated file: lib/authCheck.js
Merge pull request #9 from liyu1981/dev

move authCheck code into seperated file: lib/authCheck.js