Add login/logout logging