Added request module, and fixed errors in server.js