User info to control elements

I have followed some tutorials on datacollections with great success. My goal is to have a logged in user go to the schedule page and see their schedule.

The schedule is using a list and a datacollection. The tutorial here,

has the user input some info into a textbox to search.

My goal is to get user data, not in my collection that holds the schedule. But from the
import wixData from ‘wix-data’;
In the Contacts list of the wix creators dashboard, I have imported all my contacts and given them all an unique ID (teachers ID)

In my schedule data collection, I am searching by the teachers ID.

I would like to the list to update their schedule automatically on page load using the teachers id from the contact list.

any help will be appreciated.

basically what i want is a text box to show the id the same as after logging in it shows “hello user”.

from the text box the search can happen