add referer and ip fields to searches