TODO register flow

Signed-off-by: evanq <cppmain@gmail.com>