No auth login

Prevent repeat no auth login for same email
Other refactoring.