[ticket/12426] Rework of user search

PHPBB3-12426