Created logic for showing own recipes from db and from api