added new functionality to support core's isAuthenticated() and reconnect() methods