Add ajax to pagination and make live search