Added paginagination to the groups