Catch catgory misses

Show a 404 page instead of an internal server error when trying to get a category that doesn't exist