Attaching a Controller to the Register Form