Helper functions addListofRecipes and getAllRecipes functions properly