Change register endpoint to async model