moved search into its own partial and controller