Use user.authname instead of user.emails[0]