Initial implementation of referrer checks - to make trustworthy custom templates possible