updated to use env var for mongo pwd