pulling from local db instead of $http