Added an $email arg to the register class

Added an $email arg to the register class and to $dbconn' register method.