log out error on $http request