added app.initialize() to index page