Added a new method that will get the ip from the request to use for the lookup