added status polling to client