ajax for show all/show recent certificates