Add login support.