Inserted pagination on index page