templated error.html, removed old routes in main.py