added fetching of public IP for use in the logs