created function to get the associated player name from the senderid