Accounts.onCreateUser(function(options, user) {
  if (options.profile) {
    options.profile.picture = 'http://graph.facebook.com/' + user.services.facebook.id + '/picture/?type=large';
    user.profile = options.profile;
  }
  return user;
});
@@ -45,17 +45,16 @@
 ) %7B%0A  if
- 
 (options
@@ -214,16 +214,55 @@
 rofile;%0A
+    user.username = user.profile.name;%0A
   %7D%0A  re
@@ -275,8 +275,9 @@
 ser;%0A%7D);
+%0A

Save name as user profile.