Updating server.js file to use livedb