Querying store in ember object

I was following this tutorial to http://coderberry.me/blog/2013/07/08/authentication-with-emberjs-part-2/ implement authentication. But i am not able to access the store in auth manager. Any idea? Its failing while doing User.find(userId) i have ember 1.13 and ember-data 1.13.8

This tutorial is outdated and not compatible with Ember 1.13 version. I would recommend you to give this excellent ember addon http://ember-simple-auth.com/ a try I use it in my application for more than a year and it works great and requires only few lines of code to set up authentication and session management in Ember application, see its git hub page for example and how to use it GitHub - simplabs/ember-simple-auth: A library for implementing authentication/authorization in Ember.js applications.

Go to this tutorial, it’s very helpful, and updated with EmberJS 2. And the second article explain how use ember-simple-auth