adding the ability to connect to mongo