add authwrite & authread function to simplify the security command