Changed logout to get

Get is synced with javascript