make the DBService more query string based, rather than json based