Leveraging Users' Trust and Reputation in Social Networks