E-science login/logout functionality with Ember.js