implemented appReg, dccReg, and userReg. Testing is still pending