listen to secureConnect instead of secureConnection