fix error and create users and products

fix error and create users and products along with their tests