i am trying to make the access to the network via 2 things : SSID's key first , then using a username and password to connect, or at least username and password.
SSIDs are unique identifiers that identify a WLAN network. Wireless devices use SSIDs to establish and maintain wireless connectivity. SSIDs are case-sensitive and can contain up to 32 alphanumeric characters. Do not use any spaces or special characters in an SSID.
A client can gain access to the network only if the client password matches the AP password.