Add legal information to portal and self service

Hi folks,

I would guess we’re not the only ones having a UCS portal / self service public on the internet.

How did you manage to modify these pages to add imprint and data protection information (at least a link). Could someone point us to the templates to be modified?