login / logout corrections