Fix search facility

This PR fixes the search facility by setting current-user in the search view.