Adds better error pages