added automationConfig, redefine logIn as command and use automation.xml api