solved the rendering issue.  data is now populating from db to template.