adding error.html to templates