changed to team url and added parameter to search by team type