Rough implementation for league listing, needs refactoring.