Added Pagination to teams page