add pagination into store/index