fixed some friendrequest problem, also updated approvefriend.php