Add register to button to the index