Change pushPanel by replacePanels for register/login panel