you can use buddypress
What does BuddyPress plugin do?
BuddyPress is designed to allow schools, companies, sports teams, or any other niche community to start their own social network or communication tool. BuddyPress inherits and extends upon the integral functional elements of the WordPress engine including themes, plugins, and widgets.