added Error pages
replace DB