name of logInEmail changed in code to make it work