better login/logout handlers