reg and login is finished.