Search names Simple user panel

I am looking to create a simple user panel where a word can be entered and, if it is in a list (found on the web server), it is autocomplete. Ideally, something similar to showing a line below the search box that says "YES [entered word] IT IS A CLUB MEMBER.

Basically, as the person arrives at the club, their names are entered, if they are found, they fill and inform the person who enters the name:
SEMrush

Enter name here: [a box]

[TICK] Confirmed [the name] it is a valid member

The list of names can be in any format that facilitates this task.

Am I asking for something that is not simple?

Thank you