App.Store = DS.Store.extend({
  findQuery: function(type, id){
    id = id || {};
    id.api_key = App.API_KEY;

    return this._super(type, id);
  },

  allRecords: function(){
    var typeMaps = this.get('typeMaps'),
        records = [];
    for (var key in typeMaps){
      records = records.concat(typeMaps[key].records);
    }
    return records;
  },

  unloadAllRecords: function(){
    var records = this.allRecords(),
        record;

    while (record = records.pop()){
      record.unloadRecord();
    }
  },

  modelFor: function(type){
    if (type === 'post'){
      this.Post.typeKey = 'post';
      return this.Post;
    } else {
      return this._super(type);
    }
  },

  Post: DS.Model.extend(App.PostMixin)
});

@@ -55,32 +55,41 @@
 pe, 
-id
+query
 )%7B%0A    
-id = id
+query = query
  %7C%7C %7B%7D;%0A
     
@@ -88,37 +88,178 @@
 %7B%7D;%0A
+%0A
     i
-d.api_key = App.API_KEY;
+f (!this.container.lookup('router:main').namespace.AuthManager.isAuthenticated())%7B%0A      query.api_key = 'a3yqP8KA1ztkIbq4hpokxEOwnUkleu2AMv0XsBWC0qLBKVL7pA';%0A    %7D
 %0A%0A  
@@ -289,10 +289,13 @@
 pe, 
-id
+query
 );%0A 

Add the api_key to the query only if we're not authenticated some other way