Changed logout to CBV