[WIP] Build register flow