ajax query errors validated for cart and user_orders