Add login factory and service