now the UI dynamically changes according to the select menu if no patients are connected