adding url library and updating some stuff on server.js which is not done yet