move connect mongo to work