writ spec for logout, in order to test the destory session method