add synchronized log out