Add dynamic generation of secret key base for security