added $http service and cache