Allow custom 404 pages

Now each 404 page shows the error message.