Added a callback function for fetchLeagueByManagerId