minor syntax etc corrections
custom error pages!