Modified code of contrats page to add social sharing