added functionality to use first part of email as usetr_nicename for users with no screen name to fix issue with author link breaking.