Security And Usability Issues In Event-Driven Applications