rsvp function ready for live api