Add login to certain actions.