Adding player name function
Added player name funciton