updates to secret token and signature architectures