added search function, view, created profile view and linked to search result