added search functionality to friends list