Use enum instead of string to manage security level
This will make it easier to shared code for the security level in the wifget implementation