updated secret_token initializer