changed locations api to return all locations within 50 km instead of just the closest one