capture old login before new user is created in alerts