Private collection for tagged customers no longer working

coding section looks completely different to the tutorial. No idea what to do from here.