Added pagination to the table of groups. Shows 10 groups per page