registration api view