implemented pushing logs to server