modified the buttons in the register activity