added a view to all the stated defined in app.js