Change enable/disable function to open/close SE connection