updated controllers.js to send http request to mothersmilk node server.