Changed logout to better comply with Google's intended methods