Added node_env check to connect to mongolab