adding edits to server.js