add community lib and add player_profile() function