made it get the address for the code from the database, to match what confirmEmail.php does, to avoid subtle bugs such as when a user put a blank space at the end of their login