Controlling the Logon and Viewport actions