refactor books controllor search #48