Errors now through view and removed echo