Implemented search friends functionality.