working communication with server, working on returning correct images