integrate github oauth in server.js and phantomjs integration