add auth check for router commands
check the header.Len