Added exceptions to routes to handle 404s and other