changes to SearchesController