Register button functionalities