adds register text box and reset button