Add login/logout.