adding client side check for activating and deactivating brand