added check to prevent same link from being posted twice