added 404, 403, and 500 error templates