add Detail in app.js