register and login auth complete