Implemented send history to server