in front of them is a long line of people , each waiting for their turn to use the gate after having their use and intention of travel recorded by one of the more important-looking soldiers standing next to the gate .