"""Hook to inject some of our behavior into the routes configuration."""
map.connect('/accounts/login_begin', controller='accounts', action='login_begin')
map.connect('/accounts/login_finish', controller='accounts', action='login_finish')
+ map.connect('/accounts/logout', controller='accounts', action='logout')
def check_userid_hook(action, **params):
"""Hook to see if a user is logged in and, if so, stick a user object in