Basic database support and invitation listener