Fix bug for oauth2 logic. Where email when was null but logic was wrong not letting user insert and then sending confirmation