refactored identity search, now excludes pending friend requests