updated the returns. log the remoteaddress