Add user agent to log