logout with gson response