sell.php completed, buy.php improved