login during registration