Remove debug
Fixed search on index page
Add pagination with tests