After CR fixes, refs #315. Switched view to render error messages on the page, instead of just returning a string