moved from rest to meteor.method call for storeRegistrationId.