added pagination to leagues