logar as conexões ao mongoDb