you can pass a reference to remoteaddress and AuthResponseCode here and you don't need to store it in db