A PHPortal instance top level 'owner' or master user is the first user in the first row of the first user table which was created when the PHPortal instance was itself created as well.
This user id will generally be userid = 1.
Therefore, in the master only control panel we can easily do a check for the top level user to make sure only they are entering.