Update register controller.
Revert "Update register controller."

This reverts commit ada28d33888a26e99a680a2408b5f9a7aaac3f6f.
Revert "Revert "Update register controller.""

This reverts commit 25feab7e5c0a84ca9b3e60265f1976281f2fdbb5.
ignore database config.