get player score from database