Update register.php

added variable necessary for duplicate email catch to work