added search filter to home controller