added event and invitation models