[Bug] fix login and logout bug