Unified renderer for private/public pages, current username/userid always available in global templates