import Ember from 'ember';
import Base from 'ember-simple-auth/authenticators/base';

const { RSVP } = Ember;

export default Base.extend({

  store: Ember.inject.service(),

  restore(data) {
    console.log(data);
  },

  authenticate(identification, password) {

    var users = this.get('store').findAll('user');

    return new RSVP.Promise((resolve, reject) => {

      if (!identification || !password) {
        reject('Wrong username or password!');
      } else {
        resolve();
      }

    });

  },

  invalidate(data) {
    console.log(data);
  }

});
@@ -263,60 +263,8 @@
  %7B%0A%0A
-    var users = this.get('store').findAll('user');%0A%0A
     
@@ -434,16 +434,113 @@
 olve();%0A
+        this.store.queryRecord( 'user', %7B filter: %7B id: 'admin' %7D %7D).then(function(tomster) %7B%7D);%0A
       %7D%0A

Use different method to get user