add pagination for case list