Fix bug that allowed a user to be part of a team mulitple times and fixed get team issue

Changed create team in api to check if a team member already exists when
trying to join a team and also changed get team to only return active
members.