playing around with php javascript ajax and mysql for a social network site