Create error pages

This can be tested by running the project in prod mode or by setting the debug flag to false.