// app/routes/application.js import Ember from 'ember'; import ApplicationRouteMixin from 'simple-auth/mixins/application-route-mixin'; export default Ember.Route.extend(ApplicationRouteMixin, { model(){ // If the user is already signed in this fetches the current user from the server return this.get('session.currentUser'); } });