added 404 error to portal