add function to retrieve ip2location and convert ipAddress to ipNumber