Thank you!!
I added this, but the custom title only adds to the pages with a title. So now the title changes to this (for instance) “Hei, [current-username] Casting”, and on not on the pages with the set title.
Maybe its supposed to be like this? In that case, is it possible that the custom title only is set to those pages without a specified title?