update state drawble login/logout