Started hooking register up to api