added code to show remote IP address