still chasing down logged_in/_out bugs