add schema for searches
debug and add cross origin