updated server.js to correct version and app.'s