modified buy.php, list book functioning now