Streamlined login / logout behaviour