404 and 500 page templates added