Move search bar into react components