add form autofocus and autologin after activation