search bar functionality, updated Collaborations

added search bar functionality and updated the Collaborations model