searching player by name
simple refactoring