Change the Secret Token logic to automatically generate a new token if one does not exist