added comments to identify templates that are used.
tests for index and templates.
throw RuntimeException.
tested on another template, exception.
include password parent; fixed the template for latest style.
fixed getting $app process.
trying to add test for direct/index, but not working right.