Call isSessionAlive before isRegistered