Added task to register with notification hubs