Refactors registration handler internals into Registrar service

[#76996430]
Adds emergent registration for users and spaces endpoints

[#76996430]