server.js Methods