fixed devise bug and added ember-js