useless email and reg_code initialization