getting the articles client working without multiple SQL statements