added and error view that displays an html page instead of plain text