fixed andrews issue where a non logged in user couldn't search