add carts and categories to repository