added API endpoint to get all products of a user