fix breaking if no token/secret
only show if token/secret provided