fixed function to challenge random or searched player