add error page and not found page