referrer middleware