added pagination on index.html