add referrer to log