Improved security and syntax.
Created the element class controller for products.