Add log4j and some logging. Restore the “home” page to work around a page redirection problem.