get/post call to mongo using node