using ALL_TEAMS and MY_TEAMS constant values in controller