Checking to see if the app can connect to the server's mongodb.