Add logon functionality to admin mode