Controller now has db methods for incoming search