Add login and logout actions