Added view to error page