Basic index.js with token issue and verification