Added logout to app.js