Library support for tokens in reports and linking sites to the right
user