Added some code to app.js and some new pages