add: login / logout in view