changed secret key and set to use environemnt variables