implement proper trl of 404 and 401 error pages