Fixed sorting of referrers list, highlighting of pills in navbars, refactored login page into Ember app