add pagination, initialize search