add 404 web page and fix some templates