pagination with kaminari
fixed dabatase errors
search functionality partial