OAuth2.0 server implementation with Node.js and MongoDB