Clean up the oauth code in the index.js