updating visit loader for new visit defn, adding username search to
device log loader