Made changes to HubDispatcher and added the OnMethodMissing and OnMethodExecuted functions to Hub