Add login, logout supports