Should Catalyst::Plugin::Authentication::logout() return something true upon success? That way you can write code like $c->logout() || $c->log->error("..."); Maybe reorder somehow to return the values from this expression? delete @{ $c->session }{qw/__user __user_realm/}; -Ashley