Fixed app.js
Moved app secret etc