fixed a glitch as user ids were being used as email addresses