updating urls and correcting app.’s get method for /team.