Convert userids and emails to lowercase