Log in macro added