fixed rootScope refresh after login