add service login code