implemented webapi widh event handling and signalr