implement user get/set key value on sqlite