Adds DB transactions for /registation endpoint

[#76751842]