Added ransack for searching and sorting