ajax call to abcd.php to get history
added abcd.php
got the timestamp data from the db