added cross origin, filtering on id