add registration api.
delete test api