add ajax post request,from this function get the newest publish message count