modified the register dialog and the register logic to handle some more values