Ember authentication in rails.