if no uid and no allowGuestSearching <a>Search</a> link should be hidden in the mobile navbar