Made fetchleaguebymanagerid function with a handler function
Fixed merge conflict