added environment variable for secret key