moved product and categories forms to partials, smal refactor and fixes