fixed invitation. finalized logic and clicck events for event form