fixing issues related to switch to quantity column in user_products