Added invitation functionality