Improved security and changed errors.
Fixed bugs and added review functionality in the products.
Added view presentation files for error and getById for categories.
Added view presentation files for error and getById for products.