Todo list username has stumped me

If I copy/paste in

Tasks.insert({
    text: text,
   createdAt: new Date(),            // current time
   owner: Meteor.userId(),           // _id of logged in user
   username: Meteor.user().username // username of logged in user
});

The console shows that username isn’t added to the Object. When I do:

username: Meteor.user()

I can get the email address. Is there another way to do this? Does Meteor.user().username no longer exist?

Did you configure your accounts UI file to include username - http://docs.meteor.com/#/full/accounts_ui_config

Thanks. Up too late last night.