Added not found and error pages.