added search controller tests for not logged in