Add user agent and ip