added a search action to search the pictures model