refactor BookStore and UserStore.