Disable the button if the user is connected or not.