the worker should only be called once when routed to index, which redirects the user to the charts page