http communication now works