Fixed up register

there are examples of different text boxes in here if you need them