added custom error pages