simple node.js functions for doing oauth login with google