retrieve and set data from sqlite database