Added rest call to deleteFavorites