added handler for creating a league