Changed mongo to work with remote server