fixing indent
invoke resubscribe after setting and unsetting auth key