Part of server.js code moved to modules users.js and response.js