dbi connect and render publications from db