Pagination working in getProjects