added filters to getAll.php