add referer to log