add chat to app.js