made code more readable for listrecipes.php