Added invitation creation and viewing functionality