log system added with ajax