Added pause to the server creation to allow the DB to connect up
Changed the mongo resource to fail to start up the application if it detects an errr