updated package.json to match latest dependencies, updated 404/500 pages, pass and display error stack on 500 page