added social network functionality