Better error handling when there is no Mongo or data