added id to log out