added teams, controller responds only to json format requests