more refinements to refresh session when email changes