log user before add device