Log userid state changes for testing and return autofocus to terminal input