complete ajax register and add topic shadow