login/logout update