search is only visible when users are logged in