added check host functionality to add member