test for remote masters
allow remote masters to auth if you set their key in a configuration file
handle legacy link types too, for friends
error if user tries to create an invite without a number of uses