updated rendering 404 and 500 html files