auth working on rails/ember-cli project