logs user agent