adding getProductById and getAllCategories