transfer the user code to the xml part
add "same & next" button