Refactored domains controller
Domain search now filters results when a search term is entered