Usable names Simple user panel

I am trying to create a simple user panel in which a word can be entered and, if it is in a list (stored on a web server), it is automatically completed. Ideally, a line under the search box displaying the word "YES" [entered word] IS A MEMBER OF THE CLUB.

Basically, when the person arrives at the club, his name is entered. If it is found, it informs and informs the person who enters the name:

Enter the name here: [a box]

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

The list of names can be in any format, which makes the task easier.
SEMrush

Am I asking for something that is not simple?

Thank you