update sql customerid to cid, add Session vars

$_SESSION['cid'] = $row['cid'];
$_SESSION['email'] = $row['email'];
$_SESSION['chinesename'] = $row['chinesename'];
$_SESSION['phonenumber'] = $row['phonenumber'];