Use long instead of int for user/product IDs