changed app.js for add friend