added agenda task to server.js file