class Network {

    public Observable<User> updateCurrentUser(User user) {
        return service.updateCurrentUser(user)
               .map(new SessionTokenExtractor()).map(sessionStore.store());
    }

    public  Network(ServiceFactory serviceFactory, Context context);

}