How to remove user (unregister) push notification

                            $cordovaPush.unregister().then(function(result) {
				    alert("success");
				}, function(err) {
				   alert("error");
				});

Is this a question? Please elaborate

why ?

The problem is when i unregister and login again with another user id , a new device tokens is created on the old user id