improve security interaction