Adding the regeneration of the API Key from the interface