added AJAX calls for viewing last product sold