added get request to search controller