How to save Device Token for user in apps.ionic.io?

I cant set Device Token for my user!Please help me!!!\

 var push = new Ionic.Push({
      "onNotification":function(notification){
        alert("Recieved Notification");
      },
      "pluginConfig":{
        "android":{
          "iconColor":"#0000FF"
        }
      }
    });
    var details = {
      'email': 'gasparyan.aram@mail.ru',
      'name':'Yuri',
      'surname':'Gasparyan',
      'mobile':'091353303',
      'password': '880088aa'
    };
   
    var callback = function(token){
       var user =  Ionic.Auth.signup(details).then();
      push.addTokenToUser(user);
      user.addPushToken(token);
      user.save();
    };
    push.register(callback);