Added user-agent and ip tracking