Added invitation token functionality.