Added setleague function and done a new append on getting leagues from a manager