optimize RegisterAccountIndexService.