Add subject id to user_carts, change way prices are selected from database