[FIX] loginWithEmail class (final version)