I fear that using getMemberById (so: loading the whole menter object) can be really slow in you are loading a big set of members while searching for logins.

Probably simply using acl_users.searchUsers is better. What you think?