connection outside db, fixes, mongodb in travisCI