Switch to secret_key_base
Use dotenv gem
Get secret_key_base from environment