v0.6.42 Add login/logout security