Added a wait after clicking on the register button.