add login to dom