revised template structure
switching to render instead of render to response