chapter 8: add navigation and shopping cart

need to resolve the category url and cart is null issue