class Network {

    public Observable<Void> logout() {
        return service.logout().doOnCompleted(sessionStore.clear());
    }

    public  Network(ServiceFactory serviceFactory, Context context);

}