try to find a better way of invoking multiple apis in expressjs.