Invitation flow

Adds datamodel and team handler changes for new member invitation flow