users.generateUsername function created. Account confirmation (partial)