added option to make the AP hidden