added filtering by fromDate and toDate and body text from db