pull request for insert logoutWithoutDevice method