clear debug codes and implement DB query to get player's details