search accounts client - fixing bugs