added date filtering for user's front end