Prepare database for registration confirmation logic