added listProductsByCategory, validateUser, searchProductByName
merged andreas code with mine