Makes the search box work and changes the items controller