Add connect and disconnect for store