add code and template for notfound