Trust and Reputation Management in Web-based Social Network