changed team page to be RESTFUL