updated error template and removed footer from page template