organized index.php and fixed friendInfo, it returned an array for best score, now it returns an int for bestScore