simple node.js functions for doing oauth login with github