Meteor.methods({
  addGiblet: function ( giblet ) {
    Giblets.insert({
      createdAt: new Date(),
      owner: Meteor.userId(),
      taskname: giblet.taskname,
      url: giblet.url,
      keywords: giblet.keywords,
      SMS: giblet.SMS,
      email: giblet.email,
      frequency: giblet.frequency
    });    
  },

  deleteGiblet: function ( gibletID ) {
    Giblets.remove( gibletID );
  },

  addUserSettings: function(userSettings) {
    var currentUser = Meteor.users.find().fetch();
    var userId = currentUser[0]._id;
    Meteor.users.update( {_id: userId}, {$set:
      {
        chosenName: userSettings.chosenName,
        chosenPhoneNumber: userSettings.chosenPhoneNumber,
        chosenEmail: userSettings.chosenEmail
      }
    });
  }

});

Giblets = new Mongo.Collection("giblets");

@@ -792,16 +792,69 @@
 ion(
-%22
+'
 giblets
-%22
+'
 );%0A
+Notifications = new Mongo.Collection('notifications')

Create notifications collection