add retrieve/insert function on datastroe page