Updated homepage to request location data through REST API