add 404 handling for routes