remove log out and lock.