Changed service logon method to adhere to ps guidelines