added helper methods for league routes
added tests for routes
resolved merge conflicts