added logdb login/logout methods