Added invitations and some functionality