Add DB connect for register