log user ip and agent