register and login completed