removed header and footer state fromm app.js