fix the bug that get_login_name deletes a session
add login and logout
cope with the problem that 'eval' block catches 'exit' when using mod_perl