get player name from client
add spec test for server