adding ransack for searching and will paginate