made some mods to both registraion edit and new files while setting up the parameter for the controller