Login and email checking during registration