The last section demonstrated that the use of an authentication handler can substantially augment the flexibility with which apache and mod-perl can be structured to respond to requests when authentication is required. To be able to take substantial advantage of that flexibility, however, the other components of the application must also be flexible. In this section I am going to start building the capacity for flexibility into certain elements of the system, and then start making use of those elements to restructure part of the application's menu. Although some aspects of this transition will seem relatively mundane, they are necessary steps along the path of creating the kind of application I ultimately envision.
In the first subsection here I am going to make a couple of changes to the manner in which the system as it is now is generated, in the process tying up a couple of loose ends. In the second subsection I will begin to use some of those capabilities to generate the modifications to the application that will allow me to set the game_id and num_forms values in a manner that makes sense.