code: func (o *InvitationManager) GetOpenOrganizationInvites(globalID string) ([]JoinOrganizationInvitation, error) {
  	invites := []JoinOrganizationInvitation{}
  	qry := bson.M{
  		"user":   globalID,
  		"status": "pending",
  		//"isorganization": true,
  	}
  	err := o.collection.Find(qry).All(&invites)
  	if err == mgo.ErrNotFound {
  		err = nil
  	}
  	return invites, err
  }
docs: // GetInvites gets all invites where the organization is invited