made the admin button function from main GUIs