Changed secret_key_base config to use SECRET_KEY environment var