Refactoring Products Controller