Fixing reference bugs

Generate refCode on Admin Confirm