added invite support to channel and session