getting the whole invite workflow working on the new server