loggedInEmail was set to User.getOriginLoggedIn() in line 1546, can it be modified between then and here? If not, this check does not seem necessary.