only show search to logged in users