updated server.js and package.json