did a bunch more work on editing event
on the javasccript level i prevented users who dont own the event from
changing them