added tasks for refreshing API keys