refactored the foodFactory
now user jusrt can like the post once