got search stuff to work in sails, just need to fix filtering in front end