controller and model for IP to location