adds IP and userAgent tracking.