Update UserRegistrationController

Update UserRegistrationController with missing dependency