refactored authuser to be stored on $rootScope and partially fixed scroll issue