decoupled PM login and Room logins slightly. And prevent disconnect on login fail.