Major backend changes

Need to update server.js for hosted website