added a controller to my register form.