hiding search bar for unauthenticated users