Register form

added sub view control, and created a register sub view with a working
api.