I'd suggest that you take a look at
OpenInteract, which is a nice app-server framework based on
Template Toolkit and
mod_perl. URLs map into applications, and objects get mapped into relational database calls. Session/login management is provided as a core function.
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.