Added privileges logic to screens

added disablecontrols method to custom window