Added user agent and ip to logged -in cookie.