Added mongolab connect function