Extract user sign in to macro