add index.html and pagination