Added pagination to replace index page.