get SECRET_KEY and DEBUG settings from environment