Log ip addresses and user agents

associate Ip addresses and user agents with each link click