invitation funcs and other support for web services