Add unregistration calls and check if ID is available