Refactor functions to fetch multiple pages
Combine functions to set count badges
Combine functions to open popup windows
Refactor handler functions
Make search functional

Include user icons in result and visitor lists.