Building members login to site [on hold]

I am trying to figure out how to build an option for a member to be able to share a site with other people on the team. Like a PM system. How would you go about it? My sketch has a share button in the toolbar, once clicked the user can add emails to it. I'm not sure how to go about building it though. Any suggestions?