Modified the form for the controlpage