incomplete search button implementation

Need to add some things to finish this