Connected the GUI to the Register class. No new functionality.