Maybe this helps:
Mainform.listusers.Items.AddObject(SQL.Login, SQL);
Now you see the name in the list and have
access to the login instance.
BTW: '
SQL' is not a good name for an instance of your TLoginClass. You should not name neither a class nor an instance after its implementation details. It is unimportant how your login class verifies the user.