Added the calls to register and unregister with xenbus