replaced $rootScope storage of selected user with custom service